package com.wasp.collector.service.akka.cluster;

import java.util.HashSet;
import java.util.Set;

import com.wasp.collector.service.akka.cluster.IClusterClient;

import akka.actor.AbstractActor;
import akka.actor.Address;
import akka.cluster.Cluster;
import akka.cluster.ClusterEvent.MemberEvent;
import akka.cluster.ClusterEvent.MemberUp;
import akka.cluster.ClusterEvent.ReachabilityEvent;
import akka.cluster.ClusterEvent.ReachableMember;
import akka.cluster.ClusterEvent.UnreachableMember;
import akka.japi.pf.ReceiveBuilder;
import scala.PartialFunction;
import scala.runtime.BoxedUnit;

class ClusterClientHelper {
	static Set<Address> nodes = new HashSet<Address>();
	public static Set<Address> getNodes(){
		return nodes;
	}
	public static void setNodes(Set<Address> nodesTmp){
		nodes=nodesTmp;
	}
}
